package com.xhwl.centiotdata.config.vehicle;

import com.xhwl.common.pojo.cent.vehicle.converter.feign.AccessRecordFeignServiceConverter;
import com.xhwl.common.pojo.cent.vehicle.converter.feign.AccessRecordSecondFeignServiceConverter;
import com.xhwl.common.pojo.cent.vehicle.converter.http.HttpQueryParameterConverter;
import com.xhwl.common.pojo.cent.vehicle.converter.http.HttpResponseConverter;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class VehicleConfig {

    private static class ConverterConfig {
        @Bean
        public HttpQueryParameterConverter httpQueryParameterConverter() {
            return new HttpQueryParameterConverter();
        }
        @Bean
        public HttpResponseConverter httpResponseConverter() {
            return new HttpResponseConverter();
        }
        @Bean
        public AccessRecordFeignServiceConverter accessRecordFeignServiceConverter() {
            return new AccessRecordFeignServiceConverter();
        }
        @Bean
        public AccessRecordSecondFeignServiceConverter accessRecordSecondFeignServiceConverter() {
            return new AccessRecordSecondFeignServiceConverter();
        }
    }

}
